package 线程;

import java.util.Random;

public class Main {
    /**
     * 逻辑上的线程
     */
    public static void main(String[] args){
        for(int i=1;i<100;i++){
            System.out.println("2333");
            try {
                Thread.sleep(new Random().nextInt(1000));
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
class mythread extends Thread{
    @Override
    public void run() {
        super.run();
    }
}